<?php

session_start();

require "include/template2.inc.php";
require "include/beContent.inc.php";
require "include/content.inc.php";

require "include/auth.inc.php";

$main = new Skin("default_jquery"); 

$content = new Content($pageEntity);
$content->setParameter("page_section", 5);
$content->setLimit(1);
$content->setTemplate("login");
$content->setOrderFields("position");

$announcement = new Content($pageEntity);
$announcement->setParameter("page_id", 10);
$announcement->setLimit(1);
$announcement->apply($main, "announcement");

$main->setContent("body", $content->get()); 
$main->close();

?>